<form class="layui-form">
    <div class="layui-form-item" style="margin-top:20px;">
        <label class="layui-form-label">选择类型</label>
        <div class="layui-input-block">
            <select id="question_type" name="question_type" class="layui-input" style="width:230px;display:block;">
                <option value="0">作业</option>
                <option value="1">考试</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-block">
            <input type="text" id="question_name" name="teacher_name" placeholder="请输入" autocomplete="off"
                   class="layui-input" style="width:230px;">
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">说明</label>
        <div class="layui-input-block">
            <textarea id="question_explain" style="width:450px;height:220px" class="layui-input" rows="3"
                      cols="20"></textarea>
        </div>
    </div>
</form>